Configuration : Network > NIS : Understanding NIS : How to use NIS to maintain host information
How to use NIS to maintain host information
NIS enables you to centrally maintain host information. In addition, NIS enables you to maintain user information.
NIS provides the following methods for resolving the storage system's host name:
•
Using the
/etc/hosts
file on the NIS server
You can download the
/etc/hosts
file on the NIS server to your storage system's default volume for local host-name lookup.
•
Using a hosts map that is maintained as a database on the NIS server
The storage system uses the hosts map to query during a host lookup request across the network.
•
Using the ipnodes map that is maintained as a database on the NIS server
The ipnodes map is used for host lookup when IPv6 is enabled on your storage system.
Note:
The ipnodes database is supported only on Solaris NIS servers. To resolve a host name to an address, your storage system (with IPv6 enabled) first looks in the ipnodes database. If the IP address is not present in the ipnodes database, the application looks in the hosts database. However, if IPv6 is not enabled, then your storage system looks only in the hosts database and does not refer the ipnodes database.